<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>主公</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1" />
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-status-bar-style" content="black" />
<meta name="format-detection" content="telephone=no" />
<link href="{$Think.config.RESOURCEURL}wx_assets/css/common.css{$Think.config.RESOURCE_VER}" rel="stylesheet" type="text/css">
<link href="{$Think.config.RESOURCEURL}wx_assets/quan/userIndex.css{$Think.config.RESOURCE_VER}" rel="stylesheet" type="text/css">
<script type="text/javascript" src="{$Think.config.RESOURCEURL}wx_assets/js/zepto.1.1.3.min.js{$Think.config.RESOURCE_VER}"></script>
<script src="{$Think.config.RESOURCEURL}wx_assets/js/util.js{$Think.config.RESOURCE_VER}" type="text/javascript"></script>
<script src="http://res.wx.qq.com/open/js/jweixin-1.0.0.js"></script>
<script src="{$Think.config.RESOURCEURL}wx_assets/js/wx_share.js{$Think.config.RESOURCE_VER}" type="text/javascript"></script>
</head>
<body>
<div class="main">
    <div class="upper award-upper">
        <div class="middle">
            <div class="photo">
                <a href="#"><img src="{$logo}@64w_64h_1e_1c_2o_1sh.jpg"/> </a>
            </div>
            <div class="titlez">{$name}</div>
        </div>
        <div class="income">
            <div class="item"><a href='{$Think.config.SERVER_HOST}call.html?customerId={$customerId}&userName={$userName}&module=quan&method=miPage&params=%7B"qId"%3A"{$qId}"%7D'>成员：{$count}<em></em></a></div>
            <div class="item"><a href='{$Think.config.SERVER_HOST}call.html?customerId={$customerId}&module=quan&method=balance&params=%7B%22qId%22%3A%22{$qId}%22%2C%22uType%22%3A%222%22%7D'>收入：<php> echo sprintf("%.2f", $coins);</php><em></em></a></div>
        </div>
    </div>
    <div class="lower">
        <ul class="list">
            <li><a class="mif" href='{$Think.config.SERVER_HOST}call.html?customerId={$customerId}&userName={$userName}&module=quan&method=miPage&params=%7B"qId"%3A"{$qId}"%7D'><i></i>密友</a></li>
            <li><a class="pro" href='{$Think.config.SERVER_HOST}call.html?customerId={$customerId}&module=quan&method=order&params=%7B"qId"%3A"{$qId}","identity":1%7D'><i></i>订单</a></li>
            <!--<li><a class="statistics"><i></i>统计</a></li>-->

            <!--<li><a class="zm" href='{$Think.config.SERVER_HOST}call.html?customerId={$customerId}&module=quan&method=mienlist&params=%7B"qId"%3A"{$qId}"%7D'><i></i>招募密友</a></li>-->
        </ul>
    </div>
</div>
<script type="text/javascript">
    function square(){
        $(".list li").each(function(){
            $(this).height($(this).width());
            var top = ($(this).height()-$(this).find("a").height())/2;
            $(this).find("a").css({'padding-top':top+'px','padding-bottom':top+'px'});
        });

    }
    square();
     wx_share.init({
        "pkg":{
            "appId": '{$pkg.appId}',
            "timestamp": {$pkg.timestamp},
            "nonceStr": '{$pkg.nonceStr}',
            "signature": '{$pkg.signature}'
        },
        hide:1
    });
</script>
</body>
</html>